﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Collection.Core
{
	public class Utility
	{
		/// <summary>
		/// 产生一个GUID字符串
		/// </summary>
		/// <returns>GUID字符串</returns>
		public static String GetGuid()
		{
			return Guid.NewGuid().ToString("N");
		}

		private static string[] cities;

		public static string[] Cities
		{
			get { return cities; }
		}

		static Utility()
		{
			cities = new string[] { 
				"杭州","温州","宁波"," 南京"," 苏州","济南"
			,"青岛","大连","无锡","合肥","天津","北京","上海","广州","深圳","海外"
			,"长沙","武汉","郑州","石家庄","成都","重庆","香港","澳门"
			,"西安","昆明","南宁","福州","厦门","南昌","东莞","沈阳","长春"
			,"哈尔滨","台湾","西藏","新疆","云南","浙江"	,"安徽","福建","甘肃","广东","广西","贵州","海南","河北","河南","湖北","湖南","江苏"
			,"黑龙江","江西","吉林","辽宁","内蒙古","宁夏","青海","山东","山西","陕西","四川"
			};
			/*	"杭州","温州","宁波"," 南京"," 苏州","济南"
			,"青岛","大连","无锡","合肥","天津","北京","上海","广州","深圳","海外"
			,"长沙","武汉","郑州","石家庄","成都","重庆","香港","澳门"
			,"西安","昆明","南宁","福州","厦门","南昌","东莞","沈阳","长春"
			,"哈尔滨"*/
		}
	}
}
